<template>
    <div class="body">
        
        </el-form>
    </div>    
</template>
  
<script lang="ts" setup>
    import { reactive } from 'vue'

    // do not use same name with ref
    const form = reactive({
    name: '',
    region: '',
    date1: '',
    date2: '',
    delivery: false,
    type: [],
    resource: '',
    desc: '',
    })

    const onSubmit = () => {
    console.log('submit!')
    }
</script>

<style scoped lang="scss">
    .body{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        // background-color: red;
    }
</style>